RGB↔X:Imagedecomposition and synthesis using material- and lighting-aware di usion models